package com.rent.business.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 发布数据表
 * </p>
 *
 * @author zn
 * @since 2025-03-04
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("dat_content")
@ApiModel(value = "DatContent对象", description = "发布数据表")
public class DatContent implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("category_id")
    private Integer categoryId;

    @ApiModelProperty("专题分类名称")
    @TableField("category_name")
    private String categoryName;

    @TableField("type")
    private Integer type;

    @TableField("title")
    private String title;

    @TableField("content")
    private String content;

    @ApiModelProperty("专题主图")
    @TableField("pic")
    private String pic;

    @ApiModelProperty("相册ID")
    @TableField("alubm_id")
    private Integer alubmId;

    @TableField("price")
    private BigDecimal price;

    @TableField("price_type")
    private String priceType;

    @ApiModelProperty("关联产品数量")
    @TableField("product_count")
    private Integer productCount;

    @ApiModelProperty("同步状态")
    @TableField("permanent_status")
    private Integer permanentStatus;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty("收藏数")
    @TableField("collect_count")
    private Integer collectCount;

    @ApiModelProperty("阅读数")
    @TableField("read_count")
    private Integer readCount;

    @TableField("provance")
    private String provance;

    @TableField("city")
    private String city;

    @TableField("district")
    private String district;

    @TableField("address")
    private String address;

    @TableField("lat")
    private Object lat;

    @TableField("lon")
    private Object lon;

    @TableField("comment_count")
    private Integer commentCount;

    @TableField("description")
    private String description;

    @ApiModelProperty("审核状态")
    @TableField("verify_status")
    private Integer verifyStatus;

    @ApiModelProperty("显示状态：0->不显示；1->显示")
    @TableField("show_status")
    private Integer showStatus;

    @TableField("rent_status")
    private Integer rentStatus;

    @ApiModelProperty("自动更新状态")
    @TableField("auto_status")
    private Integer autoStatus;

    @ApiModelProperty("展示天数")
    @TableField("show_days")
    private Integer showDays;

    @TableField("settings_time")
    private Date settingsTime;

    @TableField("delete_status")
    private Integer deleteStatus;

    @ApiModelProperty("转发数")
    @TableField("forward_count")
    private Integer forwardCount;

    @TableField("remark")
    private String remark;
}
